<assign dialog_title="Manage Show Templates">
<#if isSaving>
	<assign dialog_title="Save Show Template">
<#endif>
<#if isApplying>
	<assign dialog_title="Apply Show Template">
<#endif>			
<#if isManaging>
	<assign dialog_title="Manage Show Templates">
<#endif>			
<+b_dialog dw=800 dialog_nogroup=1 dialog_nospace=1>
			<assign bw1=330>
	<table>
	<tr>
		<td>
			<input type=listbox name=templateList ownerdraw=1 singlesel=1 width=450 height=450></td>
		</td>
		<td width=1 bgcolor=#colorShadow></td>
		<td width=#ds></td>
		<td width=#bw1 bgcolor=#colorDialog>
			<img height=#ds>
				<+b_box label="Template Name" width=#bw1>
					<table cellspacing=#ds>
					<tr>
						<td><img height=3><br>Name</td>
						<td><input type=text name=templateName width=270></td>
					</tr>
					</table>
				<+e_box>
				<img height=#ds>
				<+b_box box_space=0 label="Description" width=#bw1>
					<input type=text multiline=1 name=templateDesc width=#bw1-3 height=330>
				<+e_box>
		</td>
		<td width=#ds></td>
	</tr>
	</table>
<+d_dialog>
	<table>
	<tr>
		<td width=#dw-200>
			<table>
			<tr>
				<td>
					<img height=4><br>
					<#if isManaging>
						<input type=button name=import toolbar=1 width=60 height=20 xpar=images/button_add_wide.png grayxpar=images/button_add_wide.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog  nofade=1 alt="Add/Import a new item" ascent=20>
						<input type=button name=del toolbar=1 width=60 height=20 xpar=images/button_remove.png grayxpar=images/button_remove.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog nofade=1 alt="Remove selected item(s)" ascent=20>
					<#endif>
					<img width=#ds>
					<#if isManaging>
						<input type=button name=export toolbar=1 width=60 height=20 xpar=images/button_export.png grayxpar=images/button_export.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog nofade=1 alt="Export the selected item(s)" ascent=20>
						<img width=#ds>
					<#endif>
				</td>
				<td>
					<img height=4><br>
					<input type=button toolbar=1 name=downloadMore width=80 height=20 xpar=images/button_get_more.png img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorDialogIconGrey bgcolor=#colorDialog nofade=1>
				</td>
			</tr>
			</table>
		</td>
		<td width=180 align=right>
			<#if isLoading>
				<input type=button name=doAction value="Load" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
				<img width=#ds>
			<#elseif isSaving>
				<input type=button name=doAction value="Save" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
				<img width=#ds>
			<#elseif isApplying>
				<input type=button name=doAction value="Apply" width=#dbw height=#dbh bgcolor=#colorSelection textcolor=#colorSelectionText>
				<img width=#ds>
			<#endif>
			<#if isManaging>
				<input type=button name=cancel value="Done" width=#dbw height=#dbh>
			<#else>
				<input type=button name=cancel value="Cancel" width=#dbw height=#dbh>
			<#endif>
		</td>
	</tr>
	</table>

<+e_dialog>	
				
